package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 曲目对象 admin_song
 * 
 * @author ruoyi
 * @date 2020-06-16
 */
public class AdminSong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long songId;

    /** 曲目编号 */
    @Excel(name = "曲目编号")
    private String songNo;

    /** 曲目名称 */
    @Excel(name = "曲目名称")
    private String songName;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 难度级别1入门2初级3中级4高级 */
    private String songLevel;

    /** 示范曲 */
    private String song;

    /** 乐谱 */
    private String music;

    /** 歌词 */
    private String lyric;

    /** 所属单位 */
    private Long companyId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String companyName;

    /** 教材编号 */
    private Long bookId;

    /** 教材名称 */
    private String bookName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 帐号状态（0正常 1停用） */
    private String delFlag;

    /** 课时编号 */
    private Long preidId;

    /** 课时ID */
    private String addPeriedFlag;

    public String getAddPeriedFlag () {
      return addPeriedFlag;
    }

    public void setAddPeriedFlag (String addPeriedFlag) {
      this.addPeriedFlag = addPeriedFlag;
    }

    public Long getPreidId () {
      return preidId;
    }

    public void setPreidId (Long preidId) {
      this.preidId = preidId;
    }

    public void setSongId(Long songId)
    {
        this.songId = songId;
    }

    public Long getSongId() 
    {
        return songId;
    }
    public void setSongNo(String songNo) 
    {
        this.songNo = songNo;
    }

    public String getSongNo() 
    {
        return songNo;
    }
    public void setSongName(String songName) 
    {
        this.songName = songName;
    }

    public String getSongName() 
    {
        return songName;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setSongLevel(String songLevel) 
    {
        this.songLevel = songLevel;
    }

    public String getSongLevel() 
    {
        return songLevel;
    }
    public void setSong(String song) 
    {
        this.song = song;
    }

    public String getSong() 
    {
        return song;
    }
    public void setMusic(String music) 
    {
        this.music = music;
    }

    public String getMusic() 
    {
        return music;
    }
    public void setLyric(String lyric) 
    {
        this.lyric = lyric;
    }

    public String getLyric() 
    {
        return lyric;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("songId", getSongId())
            .append("songNo", getSongNo())
            .append("songName", getSongName())
            .append("author", getAuthor())
            .append("songLevel", getSongLevel())
            .append("song", getSong())
            .append("music", getMusic())
            .append("lyric", getLyric())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
